package com.yc.atm;


import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@AllArgsConstructor //由lombok生成所有带参的构造方法
@NoArgsConstructor
public class BankAccount {
    private int id;//账号
    private double balance;//余额

}
